import request from '@/utils/request'

// 查询hrmanagement列表
export function listQpglqpms(query) {
  return request({
    url: '/hrmanagement/qpglqpms/list',
    method: 'get',
    params: query
  })
}

// 查询hrmanagement详细
export function getQpglqpms(id) {
  return request({
    url: '/hrmanagement/qpglqpms/' + id,
    method: 'get'
  })
}

// 新增hrmanagement
export function addQpglqpms(data) {
  return request({
    url: '/hrmanagement/qpglqpms',
    method: 'post',
    data: data
  })
}

// 修改hrmanagement
export function updateQpglqpms(data) {
  return request({
    url: '/hrmanagement/qpglqpms',
    method: 'put',
    data: data
  })
}

// 删除hrmanagement
export function delQpglqpms(id) {
  return request({
    url: '/hrmanagement/qpglqpms/' + id,
    method: 'delete'
  })
}
